package com.hxgz.steel.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
public class CategoryDto {

    @ApiModelProperty("类别id")
    private Integer id;

    @ApiModelProperty("类别名称")
    private String name;

    List<CategoryDto> categoryDtoList;

}
